<template>
   <comNavigation>
    <template #title>
      <div class="title">
        {{ router.query.department }}
      </div>
    </template>
  </comNavigation>
  <div class="selectBox" @click="router1.push('/search')">
            <comIcon style="font-size: 18px;vertical-align: middle;" name="icons-搜索" />
            搜一搜：疾病/症状/医生/健康知识
          </div>

</template>

<script setup lang="ts">
import comNavigation from '@/components/common/com-navigationBar/com-navigation.vue'

// 路由
import { useRoute ,useRouter} from 'vue-router';
const router = useRoute()
const router1 = useRouter()
console.log(router.query.id,router.query.department);
import comIcon from '../components/common/com-icon/com-icon.vue'


</script>


<style scoped lang="scss">
  .selectBox {
      position: absolute;
      background-color: #FFFFFF;
      left: 5%;
      top: 65px;
      width: 90%;
      height: 40px;
      line-height: 40px;
      border-radius: 50px;
      text-indent: 8px;
      font-size: 16px;
      color: #B1B1B1;
      border: 2px solid #F5F5F5;
    }
</style>
